package com.team20.map_demo.service;

import com.team20.map_demo.domain.Region;
import com.team20.map_demo.domain.SearchRegionResponse;

import java.util.List;

public interface RegionService {
    int saveRegion(Region region);

    SearchRegionResponse findAllRegion(Integer pageNum, Integer pageSize);

    Region findRegionByPrimaryKey(String id);

    int deleteRegion(String id);

    SearchRegionResponse findRegionLikeName(String keywords, Integer pageNum, Integer pageSize);

    List<Region> listRegion();

    Region findRegionByStreet(String id);;
}
